package cn.zcf.pet.service;

import cn.zcf.basic.service.IBaseService;
import cn.zcf.basic.utils.PageList;
import cn.zcf.pet.domain.SearchMessage;
import cn.zcf.pet.dto.SearchDto;
import cn.zcf.pet.query.SearchMessageQuery;
import org.springframework.http.HttpRequest;

import javax.servlet.http.HttpServletRequest;

public interface ISearchMessageService extends IBaseService<SearchMessage> {
    void publish(SearchMessage s, HttpServletRequest request);

    PageList<SearchMessage> toHandle(SearchMessageQuery query, HttpServletRequest request);

    void reject(Long id);

    void accept(SearchDto dto, HttpServletRequest request);
}
